blktap: fix and use ROUNDUP macro (bug 1430 part 1)
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Jun 2009 10:11:04 +0000 (11:11 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Jun 2009 10:11:04 +0000 (11:11 +0100)
commit2f78e9cccf5203964043e4b7656da663d9d8e30f
treecaa6b0cdd17caae44cd9fafce66ba6a8a0369e2f
parent09c8ee7eaca8262064544fe50ba4ed5ddad56b0e
blktap: fix and use ROUNDUP macro (bug 1430 part 1)

As pointed out in Xen Bugzilla 1430 in the blktap QCOW driver the
rounding function is wrong in line 824 of block-qcow.c.
This patch replaces this (and other roundings) with the already
existing ROUNDUP macro (and fixes the usual macro pitfall).

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
tools/blktap/drivers/block-qcow.c